package com.keensense.vcm.common.auth;

/**
 * @author lanjian
 * @date 2020/4/28 10:09 上午
 */
public class DefaultCredentials implements Credentials {

    private String userName;

    private String password;

    private String cookie;

    public DefaultCredentials(String userName, String password, String cookie) {
        this.userName = userName;
        this.password = password;
        this.cookie = cookie;
    }

    @Override
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String getCookie() {
        return cookie;
    }

    @Override
    public void setCookie(String cookie) {
        this.cookie = cookie;
    }
}
